<?php

namespace App\Repositories\Admin;

use App\BaseRepository;

class ArticleColumnRepository extends BaseRepository
{
    protected $modelName = "App\Model\ArticleColumn";

    protected function commonRules()
    {
        return [
          'name' => 'required'
        ];
    }

    protected function relationLoad()
    {
        return [];
    }

    protected function getShowRespondData($model)
    {
        return $model->load('articles');
    }
}
